s = "1231"
if string.find(s,"^%d") then
	print("s is a number")
else
	print("string")
end